.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.thumbnail {
  width: 120px; /* 指定宽度 */
  height: 120px; /* 指定高度 */
  object-fit: cover; /* 裁剪图片以填充元素 */
  border-radius: 5px; /* 可选：添加边框圆角 */
}

.timestamp {
  color: gray;
  font-size: smaller;
  position: absolute;
  right: 10px;
  top: 2px;
}

/* 添加左边距 */
.pl-3 {
  padding-left: 1rem;
}

/* 新增的类，控制内容的顶部外边距 */
.content-wrapper {
  margin-top: 20px; /* 根据需要调整这个值 */
}

/* 新增的模态框样式 */
.modal-fullscreen {
  width: 100vw;
  height: 100vh;
  margin: 0;
}

.modal-fullscreen .modal-content {
  height: 100%;
  border-radius: 0;
}

.news-image {
  max-width: 50%; /* 最大宽度不超过浏览器宽度的50% */
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.indent {
  text-indent: 2em; /* 缩进两个汉字 */
}